added samples
[windows-sources.git] / sdk / samples / WPFSamples / Postcard3D / visualbasic / my project / settings.designer.vb
blob3d12c6fb5faa51943e34b5cfd0a3d98f8b933099
1 '------------------------------------------------------------------------------
2 ' <autogenerated>
3 ' This code was generated by a tool.
5 ' Changes to this file may cause incorrect behavior and will be lost if
6 ' the code is regenerated.
7 ' </autogenerated>
8 '------------------------------------------------------------------------------
10 Option Strict Off
11 Option Explicit On
15 Partial Friend NotInheritable Class MySettings
16 Inherits System.Configuration.ApplicationSettingsBase
18 Private Shared m_Value As MySettings
20 Private Shared m_SyncObject As Object = New Object
22 <System.Diagnostics.DebuggerNonUserCode()> _
23 Public Shared ReadOnly Property Value() As MySettings
24 Get
25 If (MySettings.m_Value Is Nothing) Then
26 System.Threading.Monitor.Enter(MySettings.m_SyncObject)
27 If (MySettings.m_Value Is Nothing) Then
28 Try
29 MySettings.m_Value = New MySettings
30 Finally
31 System.Threading.Monitor.Exit(MySettings.m_SyncObject)
32 End Try
33 End If
34 End If
35 Return MySettings.m_Value
36 End Get
37 End Property
38 End Class